package valve_test.DAO;

import java.sql.SQLException;
import java.util.List;

import valve_test.logic.valves;
/**
 * Created with IntelliJ IDEA.
 * User: Shinigami
 * Date: 11.03.14
 * Time: 19:14
 * To change this template use File | Settings | File Templates.
 */
public interface ValvesDAO {
    public void addValve(valves valve) throws SQLException;
    public void updateValve(valves valve) throws SQLException;
    public valves getValveById(Long id) throws SQLException;
    public valves getValveByName(String name) throws SQLException;
    public List getAllValves() throws SQLException;
    public void deleteValve(valves valve) throws SQLException;
}
